package com.jfs.security.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @Description 安全配置文件
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/8/5
 */
@ConfigurationProperties(prefix = "jfs.security")
@Data
public class SecurityProperties {
    /**
     * 不鉴权url
     */
    private List<String> ignoreUrls;

    /**
     * jwt加密秘钥
     */
    private String secret;

    /**
     * token有效时间
     */
    private long expireTime;
}
